package com.ihr360.insurance.model.response;

import com.google.common.collect.Lists;

import java.io.Serializable;
import java.util.List;

/**
 * @author Stone.Shi
 * @description
 * @date 2018-03-12 10:09:44.
 */
public class ImportResponse implements Serializable {

    private static final long serialVersionUID = 5849977609063508436L;
    private List<String> errorLogs = Lists.newArrayList();

    public ImportResponse() {
    }

    public ImportResponse(List<String> errorLogs) {
        this.errorLogs = errorLogs;
    }

    public List<String> getErrorLogs() {
        return errorLogs;
    }

    public void addErrorInfo(String errorInfo) {
        errorLogs.add(errorInfo);
    }
}
